package com.woniu.cms.lease.core.mapper;

import com.woniu.cms.lease.core.entity.LeaseStorage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-18
 */
public interface LeaseStorageMapper extends BaseMapper<LeaseStorage> {

    //查询所有
    List<LeaseStorage> all();

    //新增
    int add(LeaseStorage leaseStorage);

    //修改状态
    int Revise(@Param("id") int id);


}
